package oceanwiki.resp;

import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import springfox.documentation.spring.web.json.Json;

/**
 * @FileName EbookQueryResp
 * @Description
 * @Author Me
 * @date 2024-09-10
 **/

@Data
public class EbookQueryResp {
    //解决vue超过16位精度会丢失问题
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private Long category1Id;
    private Long category2Id;
    private String description;
    private String cover;
    private Integer docCount;
    private Integer viewCount;
    private Integer voteCount;
}
